-
Home
-
Google for WooCommerce
-
2.8.1
-
Code
-
Classes
- ProductBlocksService
| Total Complexity |
25 |
| Dependencies |
13 |
| Dependents |
1 |
| Total lines |
313 |
| Lines of code |
150 |
| Logical lines of code |
62 |
| Comment lines |
81 |
| Methods |
11 |
| Properties |
4 |
Methods 11
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| hook_block_template() |
A |
42 |
7 |
60 |
| add_product_attribute_blocks() |
S |
56 |
5 |
18 |
| register_custom_blocks() |
S |
51 |
3 |
28 |
| register() |
S |
63 |
2 |
11 |
| get_hide_condition() |
S |
65 |
2 |
9 |
| __construct() |
S |
71 |
1 |
6 |
| is_needed() |
S |
78 |
1 |
3 |
| hook_init() |
S |
71 |
1 |
5 |
| add_channel_visibility_block() |
S |
81 |
1 |
3 |
| is_variation_template() |
S |
80 |
1 |
3 |
| is_visible_for_variation() |
S |
74 |
1 |
4 |